//
//  SXTAFNetworkingClient.h
//  SXT
//
//  Created by 赵金鹏 on 16/8/16.
//  Copyright © 2016年 赵金鹏. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>

typedef void(^requestSuccessBlock)(id responseObject);
typedef void(^requestErrorBlock)(NSError *error);

@interface SXTAFNetworkingClient : AFHTTPSessionManager

+ (void)POSTRequest:(NSString *)url
              param:(NSDictionary *)param
          isSuccess:(requestSuccessBlock)returnSuccess
            isError:(requestErrorBlock)returnError;

+ (void)GETRequest:(NSString *)url
              param:(NSDictionary *)param
          isSuccess:(requestSuccessBlock)returnSuccess
            isError:(requestErrorBlock)returnError;

@end
